package com.chenfwind.IDao;


import java.util.List;

import com.chenfwind.domain.User;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User selectByAccount(String account);
    
    User selectByAccountAndPassword(String account , String password);
    
    List<User> getAllUser();
    
    int delUser(String userId);
    /*
     * 测试用的
     */
    User selectUserRoleByAccount(String account);
}